//
//  WCTimerManager.h
//  WC
//
//  Created by 杨鑫 on 15/4/30.
//  Copyright (c) 2015年 智康. All rights reserved.
//

#import <Foundation/Foundation.h>

@class UIButton;

@interface WCTimer : NSObject

@property (nonatomic) NSInteger count;

@property (weak, nonatomic) UIButton *securityCode;

@property (copy, nonatomic) void(^timing)(NSInteger count);
@property (copy, nonatomic) void(^timeEnd)(void);

- (void)start:(NSTimeInterval)seconds;

- (void)deallocTimer;

+(int)getRandomNumber:(int)from to:(int)to;
@end
